﻿$(document).ready(function () {
   
    $("#InsertNationality").click(function (event) {

        $.ajax({
            type: "POST",
            url: "/Managerial/Nationality/AddNationality",
            data: $('form').serialize(),
            success: function (success) {
                alert("Saved Successfully");
            },
            error: function () {

            }
        });
    })

     $("#Add").click(
       function() {

        $.ajax({
            type: "POST",
            url: "/Managerial/Course/AddNewOutline",
            data: {send:1},
            success: function (resulte) {
                $("#outLine").append(resulte);
            },
            error: function () {
             alert("can't add outline");
            }
        });
        }
    )



})
